SNiFF+J Java Tutorial Example Description

The SNiFF+J Java Example used in the Browsing and Developing Tutorials is a multi-threaded application, including concepts like distributed services, object factories, scheduling and processing of events and more. It shows how objects communicate amongst each other, how services can be implemented and how frames are generated with Java. Testing and a simulation are also integrated for the better understanding of the application.


Main Window

The main window has a functionality for simulating a cycle of bookings. There is a simulation control for starting and stopping the cycle and for setting the cycle interval. The Front Office and Back Office windows are also accessable via this window. Logically, the service of handling bookings from a front office to a back office is related to this window and its environment.

Front Office Window

Test deals can be created with the  Front Office. This results in an entry in the Front Office deal list. If a Back Office is opened from the Main Window, the Front Office can be connected to it to submit all created deals. The contents of a deal are not relevant to the example, and are hence not described here.

Back Office Window

The Back Office simply receives deals created by the Front Office and shows them in a Deal Store Browser. Only the communication with the Front Office via the Main Window service is provided for.

Deal Store Browser

This is the visualization of the Back Office. In the example, only the deals passed from the Front Office are represented in the lists. No further functionality is supported.